package com.restaurant;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 点餐小程序应用启动类
 */
@Slf4j
@SpringBootApplication
@EnableTransactionManagement
@EnableCaching
public class RestaurantApplication {

    public static void main(String[] args) {
        SpringApplication.run(RestaurantApplication.class, args);
        log.info("点餐小程序后端服务启动成功！");
    }
}